<template>
    <div class="TitleSearch">
        <div class="title">
            <h1>饿了么</h1>
        </div>
        <div class="search">
            <input type="text" placeholder="输入搜索,商品名称">
        </div>
    </div>
  
</template>

<script>
export default {

}
</script>

<style lang='scss' scoped>
    .TitleSearch {
        background-color: #0099fe;
    }
    .TitleSearch .title {
        height: 50%;
        margin: 0px 10px 0px 10px;
    }
    .title h1 {
        font-size: 24px;
    }
    .TitleSearch .search {
        height: 50%;
        margin: 20px 10px 10px 10px

    }
    .search input {
        width: 100%;
        border: none;
        outline: none;
        border-radius: 20px;
        height: 35px;
        text-align: center;
        margin-bottom: 10px;
    }
    


</style>